//
//  ViewController.m
//  自适应升级版
//
//  Created by dllo on 16/8/4.
//  Copyright © 2016年 YMJ. All rights reserved.
//

#import "ViewController.h"

@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view, typically from a nib.
    // 关闭自适应
    self.edgesForExtendedLayout = UIRectEdgeNone;
    self.automaticallyAdjustsScrollViewInsets = NO;
    /**
     *  作用
     *
     *  @return 在透明度为YES,并且不设置automaticallyAdjustsScrollViewInsets为NO的情况下,
     tableView (0.0.414,736) 但是cell 为(0,64,414,736)
     设置automaticallyAdjustsScrollViewInsets为NO
     tableView (0.0.414,736) 但是cell 为(0,0,414,736) 高了点
     当不给透明度设置为NO,并且不设置automaticallyAdjustsScrollViewInsets为NO的情况下
     tableView (0.64.414,736) 但是cell 为(0,64,414,736) 完美
     设置automaticallyAdjustsScrollViewInsets为NO
     没啥变化
     */
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
